package com.letoo.sso.dataaccess.domain.dbo;

/**
 * 用户禁用情况表。业务中暂时不使用，遗留给admin系统。
 * 
 * @author dengjie
 *
 */
public class UserDisableDO extends BaseDO {

    /**
     * 
     */
    private static final long serialVersionUID = -7943885449135199568L;

    /**
     * 用户唯一ID。作为物理系统ID，主要是在数据迁移使用避免自增长后迁移困难
     */
    private long userId;

    /**
     * 账号禁用原因
     */
    private String reason="";

    /**
     * 禁用类别。预留以后有整个系统的admin系统来处理。
     */
    private int type;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "UserDisable [userId=" + userId + ", reason=" + reason + ", type=" + type + "]";
    }

}
